StellarPay\Subscriptions\Repositories\SubscriptionRepository S

Total Complexity 39
Dependencies 17
Dependents 3
Total lines 615
Lines of code 280
Logical lines of code 164
Comment lines 205
Methods 16
Properties 1

Methods 16

Method Rating Maintainability Complexity Lines of code
toArray()
A
38 11 72
getAll()
S
53 5 22
update()
S
48 4 34
insert()
S
49 2 33
delete()
S
58 2 17
validateSubscription()
S
68 3 7
cancelAtPeriodEnd()
S
57 1 17
cancel()
S
58 1 16
hasStatusChanged()
S
75 2 4
updatePaymentMethod()
S
64 2 10
removeCancelAtPeriodEnd()
S
61 1 13
suspend()
S
63 1 11
complete()
S
63 1 11
getById()
S
74 1 5
activate()
S
73 1 5
prepareQuery()
S
79 1 3